package com.chb.command;

/**
 * @author chihb
 * @create-time 2024/10/27 8:00
 * @description
 */
public class LightOffCommand implements Command{
    private Light light;
    public LightOffCommand(Light light)
    {
        this.light=light;
    }
    @Override
    public void execute() {
        light.close();
    }
}
